package g.m.springcloud.service.impl;

import g.m.springcloud.dao.UserDao;
import g.m.springcloud.entities.User;
import g.m.springcloud.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class UserServiceImpl implements UserService {

    @Resource
    private UserDao userDao;

    @Override
    public List<User> read() {
        return userDao.read();
    }
}
